package com.yehuo.app.service;

import com.yehuo.app.entity.dto.SelectWithdrawalDto;
import com.yehuo.app.model.R;
import com.yehuo.app.model.Result;


public interface WthdrawalService {

    /**
     * 审核提现订单
     * @param wthdrawalId
     * @return
     */
    Result checkWithdrawal(String wthdrawalId, Integer type);

    /**
     * 提现列表
     * @param selectWithdrawalDto
     * @return
     */
    R selectWithdrawals(SelectWithdrawalDto selectWithdrawalDto);

    /**
     *获取自动自动提现状态
     * @return
     */
    Result selectAutoCode();

    /**
     *修改自动提现状态
     * @param status
     * @return
     */
    Result updateAutoWithdrawal(String status);
}
